package fasilkom.antz.gui;


public class Button extends com.golden.gamedev.gui.TButton {

	public Button(String text, int x, int y, int w, int h) {
		super(text, x, y, w, h);
	}
	
	@Override
	public void doAction() {
		super.doAction();
		
		if (getUIRenderer() instanceof CustomButtonRenderer) {
			((CustomButtonRenderer) getUIRenderer()).playClickSound();
		}
	}

}
